Command
└─Autoload
public class Autoload
extends Command
Method Summary | |
---|---|
protected void | 配置指令 |
protected null|int | execute(Input input, Output output) 执行指令 |
protected void | addClassMapCode(mixed dir, mixed namespace, mixed classMap) |
protected void | getPathCode(mixed path) |
protected void | normalizePath(mixed path) |
protected void | createMap(mixed path, mixed namespace) |
protected void | findClasses(mixed path) |
Methods inherited from think\console\Command | |
---|---|
__construct, addArgument, addOption, addUsage, configure, execute, getAliases, getConsole, getDefinition, getDescription, getHelp, getName, getNativeDefinition, getProcessedHelp, getSynopsis, getUsages, ignoreValidationErrors, initialize, interact, isEnabled, mergeConsoleDefinition, run, setAliases, setCode, setConsole, setDefinition, setDescription, setHelp, setName |
protected void configure()
配置指令
protected null|int execute(Input input, Output output)
执行指令
protected void addClassMapCode(mixed dir, mixed namespace, mixed classMap)
protected void getPathCode(mixed path)
protected void normalizePath(mixed path)
protected void createMap(mixed path, mixed namespace)
protected void findClasses(mixed path)